Developer Documentation
PATH  WebObjects 4.0 Documentation > Serving WebObjects

Table of Contents Previous Section

Creating Application Instances

Each application instance you create adopts the defaults provided in the Application Configuration page for the application. To create an instance,

  1. Click the button labeled "Detail View" in the upper right corner of the Application Configuration page.

    The application's Detail View page is then displayed:

  2. Click the Add Instance button to create a new instance of your application.

    A new page appears that gives you a choice of hosts to add your instance to.

  3. Select the host from the pop-up menu.

    Unless you previously configured hosts in Monitor, there should only be one item in the pop-up menu.

  4. Click the Add Instance button.
After clicking this button you are returned to the Detail View page, where you can now see a new row in the table showing the status of the instance you just created. From this page you can start the application instance. See "Starting and Stopping an Application Instance" for details.

When you use Monitor to add an application or an instance, or indeed to change any setting, you are creating or updating the public configuration file NEXT_ROOT/Library/WebObjects/Configuration/WebObjects.conf. The presence of this file tells the adaptor to do load balancing across multiple instances. See "Configuration Files" for more information on WebObjects.conf.

Table of Contents Next Section